@import './normalize.css';
@import './theme.css';


*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 隐藏右侧滚动条 */
html.hide::-webkit-scrollbar {
  display: none;
}
/* absolute方法 */
/* html {
  position: relative;
  overflow: scroll;
}
:root {
  overflow-y: auto;
  overflow-x: hidden;
}
:root body {
  position: absolute;
}
body {
  width: 100vw;
  overflow: hidden;
} */
html {
  position: relative;
  width: 100vw;
  overflow-x: hidden;
  overflow-y: scroll;
  /* overflow: overlay; */
}
body {
  padding: 0 !important;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}
::-webkit-scrollbar-thumb {
  background-color: #c8c8c8;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

body {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  user-select: none;
  /* 禁止用户鼠标在页面上选中文字/图片等 */
  -webkit-tap-highlight-color: transparent;
  /* webkit是苹果浏览器引擎，tap点击，highlight背景高亮，color颜色，颜色用数值调节 */
  background: var(--color-background);
  color: var(--color-text);
  /* rem vw/vh */
  width: 100vw;
}

a {
  color: var(--color-text);
  text-decoration: none;
}

ul,
li {
  list-style: none;
}

.clearfix::after {
  clear: both;
  content: '';
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
}

.clearfix {
  zoom: 1;
}

.left {
  float: left;
}

.right {
  float: right;
}

.mod-bg {
  margin-bottom: 20px;
  background-image: linear-gradient(var(--color-theme-light-5), #fff);
}
.container {
  position: relative;
  width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* element-ui */
.el-carousel .el-carousel__arrow {
  width: 60px;
  height: 60px;
}
/* 滚动条 */
/* ::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: darkgrey;
}
::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
} */

/* 小图标 */
@font-face {
  font-family: 'iconfont';  /* Project id 3193384 */
  src: url('//at.alicdn.com/t/font_3193384_b6xncf1rtes.woff2?t=1651348023824') format('woff2'),
       url('//at.alicdn.com/t/font_3193384_b6xncf1rtes.woff?t=1651348023824') format('woff'),
       url('//at.alicdn.com/t/font_3193384_b6xncf1rtes.ttf?t=1651348023824') format('truetype');
}
.iconfont {
  font-family: 'iconfont' !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.mod-btn-blue {
  border: 1px solid var(--color-theme);
  background-color: var(--color-theme);
  color: #fff;
}
.mod-btn {
  border: 1px solid #c9c9c9;
  color: #000;
}
.mod-btn,
.mod-btn-blue {
  border-radius: 2px;
  font-size: 14px;
  margin-right: 6px;
  padding: 0 23px;
  height: 38px;
  line-height: 38px;
  display: inline-block;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
}

.mod-songlist-toolbar .mod-btn,
.mod-songlist-toolbar .mod-btn-blue {
  min-width: 122px;
  text-align: center;
}

.mod-songlist-toolbar .iconfont {
  width: 13px;
  height: 16px;
}
.btn-add::before {
  content: '';
  width: 0;
  height: 100%;
  border-left: 1px solid #ccc;
  margin: 0 10px;
}
video::-webkit-media-controls-enclosure {
  display: none;
}

/* resong */
.resong-box {
  margin-left: 80px;
  vertical-align: middle;
  height: 70px;
}
.resong-box .left {
  display: inline;
  margin-top: 5px;
  margin-left: -75px;
  overflow: hidden;
}
.resong-box .left a {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
}
.resong-pic {
  width: 60px;
  height: 60px;
}
.resong-name,
.resong-author,
.resong-creator {
  font-weight: 400;
  padding-top: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resong-name a,
.resong-author a,
.resong-creator a {
  white-space: nowrap;
}
.resong-name a:hover,
.resong-author a:hover,
.resong-creator a:hover {
  color: var(--color-theme);
}

/* playlist */
.playlist-title a,
.playlist-artist a,
.playlist-author a,
.playlist-creator a {
  font-size: 14px;
  white-space: nowrap;
}
.playlist-title a:hover,
.playlist-artist a:hover,
.playlist-author a:hover,
.playlist-creator a:hover {
  color: var(--color-theme);
}
.playlist-other {
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 22px;
  font-size: 14px;
}
.playlist-artist,
.playlist-author {
  height: 22px;
  line-height: 22px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.playCount {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 8px;
  height: 24px;
  line-height: 24px;
  font-size: 14px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.playCount .iconfont {
  font-size: 14px;
}
.songlist-mv .iconfont {
  font-size: 20px;
  color: var(--color-theme);
}
.songlist-vip .iconfont {
  font-size: 18px;
  color: var(--color-theme);
}
.songlist-buy .iconfont {
  font-size: 18px;
  color: var(--color-theme);
}
